Action

An action providing a response to the OpenFileCallback.

Constructors

Link copied to clipboard
constructor(consumer: Consumer<OpenFile.Response>)

Functions

Link copied to clipboard
open fun cancel()
Notifies the browser that the file chooser dialog should be canceled.
Link copied to clipboard
Returns true if this action is closed.
Link copied to clipboard
open fun open(filePath: Path)
Notifies the browser that the file was selected in the file chooser dialog.